package org.lilred.ui;

import org.lilred.ui.theme.Texture;
import org.lilred.ui.theme.ThemeOld;
import org.lilred.ui.theme.ThemeSetting;

import net.rim.device.api.ui.Graphics;
import net.rim.device.api.ui.component.GaugeField;

public class ProgressBar extends GaugeField {
	public int backgroundColor = 0x298eff;
	public int borderColor = 0xffffff;
	public int textColor = 0xffffff;
	public Texture texture = null; 
	public int textureOpacity = 125;	
	public ProgressBar(String label, int min, int max, int start, long style, ThemeOld themeOld) {
		super(label, min, max, start, style);
		ThemeSetting settings = themeOld.getSetting(ThemeOld.HEADER);
		backgroundColor = settings.backgroundColor;
		borderColor = settings.borderColor;
		textColor = settings.textColor;
		texture = settings.texture;
		textureOpacity = settings.textureOpacity;
	}
	
	public ProgressBar(String label, int min, int max, int start, long style) {
		super(label, min, max, start, style);
	}
	
	protected void paint(Graphics g) {
		
	}
}
